package com.ceit.dao;

import com.ceit.model.RolesAuthority;
import com.ceit.model.RolesAuthorityExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolesAuthorityMapper {
    int countByExample(RolesAuthorityExample example);

    int deleteByExample(RolesAuthorityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RolesAuthority record);

    int insertSelective(RolesAuthority record);

    List<RolesAuthority> selectByExample(RolesAuthorityExample example);

    RolesAuthority selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RolesAuthority record, @Param("example") RolesAuthorityExample example);

    int updateByExample(@Param("record") RolesAuthority record, @Param("example") RolesAuthorityExample example);

    int updateByPrimaryKeySelective(RolesAuthority record);

    int updateByPrimaryKey(RolesAuthority record);
}